.class Lcom/instagram/android/nux/ad;
.super Ljava/lang/Object;
.source "LandingPageFragment.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/instagram/android/nux/v;


# direct methods
.method constructor <init>(Lcom/instagram/android/nux/v;)V
    .locals 0
    .parameter

    .prologue
    .line 194
    iput-object p1, p0, Lcom/instagram/android/nux/ad;->a:Lcom/instagram/android/nux/v;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4
    .parameter "v"

    .prologue
    .line 197
    new-instance v0, Lcom/instagram/ui/a/a;

    iget-object v1, p0, Lcom/instagram/android/nux/ad;->a:Lcom/instagram/android/nux/v;

    invoke-virtual {v1}, Lcom/instagram/android/nux/v;->getContext()Landroid/content/Context;

    move-result-object v1

    sget v2, Lcom/facebook/ax;->dialog_server_options:I

    sget v3, Lcom/facebook/bb;->IgDialogActionBar:I

    invoke-direct {v0, v1, v2, v3}, Lcom/instagram/ui/a/a;-><init>(Landroid/content/Context;II)V

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/instagram/ui/a/a;->a(Z)Lcom/instagram/ui/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/ui/a/a;->b()Landroid/app/Dialog;

    move-result-object v0

    .line 202
    iget-object v1, p0, Lcom/instagram/android/nux/ad;->a:Lcom/instagram/android/nux/v;

    invoke-virtual {v1}, Lcom/instagram/android/nux/v;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-virtual {v1}, Landroid/support/v4/app/j;->getWindow()Landroid/view/Window;

    move-result-object v1

    const/16 v2, 0x20

    invoke-virtual {v1, v2}, Landroid/view/Window;->setSoftInputMode(I)V

    .line 204
    invoke-virtual {v0}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;

    move-result-object v1

    const/4 v2, 0x5

    invoke-virtual {v1, v2}, Landroid/view/Window;->setSoftInputMode(I)V

    .line 207
    new-instance v1, Lcom/instagram/android/nux/ae;

    invoke-direct {v1, p0}, Lcom/instagram/android/nux/ae;-><init>(Lcom/instagram/android/nux/ad;)V

    invoke-virtual {v0, v1}, Landroid/app/Dialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    .line 217
    sget v1, Lcom/facebook/aw;->done_button:I

    invoke-virtual {v0, v1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v1

    new-instance v2, Lcom/instagram/android/nux/af;

    invoke-direct {v2, p0, v0}, Lcom/instagram/android/nux/af;-><init>(Lcom/instagram/android/nux/ad;Landroid/app/Dialog;)V

    invoke-virtual {v1, v2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 254
    invoke-virtual {v0}, Landroid/app/Dialog;->show()V

    .line 255
    return-void
.end method
